package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ReservationDto {
    @ApiModelProperty("预约人手机号")
    private String mobile;

    @ApiModelProperty("预约人姓名")
    private String name;

    @ApiModelProperty(value = "预约时间,格式：yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    @ApiModelProperty(value = "预约类型")
    private Integer type;

    @ApiModelProperty("老人姓名")
    private String visitor;
}
